=====================

svn commit

commit (ci): Send changes from your working copy to the repository.
usage: commit [PATH...]

  A log message must be provided, but it can be empty.  If it is not
  given by a --message or --file option, an editor will be started.
  If any targets are (or contain) locked items, those will be
  unlocked after a successful commit.

有效选项:
  -q [--quiet]             : 打印尽可能少
  -N [--non-recursive]     : 只在单个目录操作
  --targets arg            : 传递文件 ARG 内容为附件参数
  --no-unlock              : don't unlock the targets
  -m [--message] arg       : 指定提交信息ARG
  -F [--file] arg          : 从文件 ARG 读取数据
  --force-log              : 强制校验日志信息资源
  --editor-cmd arg         : 使用 ARG 作为外部编辑器
  --encoding arg           : 指定的值 ARG 为字符编码
  --username arg           : 指定用户 ARG
  --password arg           : 指定密码 ARG
  --no-auth-cache          : 不要缓冲用户验证
  --non-interactive        : 不要交互提示
  --config-dir arg         : 从目录 ARG 读取用户配置文件

====================

svn add

add: 把文件和目录放入版本控制中,
通过调度加到档案库。它们会在下一次提交时加入。
用法:add 路径...

有效选项:
  --targets arg            : 传递文件 ARG 内容为附件参数
  -N [--non-recursive]     : 只在单个目录操作
  -q [--quiet]             : 打印尽可能少
  --config-dir arg         : 从目录 ARG 读取用户配置文件
  --force                  : 强制操作运行
  --auto-props             : 使自动属性有效
  --no-auto-props          : 使自动属性无效

======================

svn revert

revert: 恢复原始未改变的工作拷贝文件 (恢复大部份的本地修改)。
用法:revert PATH...

  注意:本子命令不会存取网络,并且会解除冲突的状况。但是它不会恢复
        被删除的目录

有效选项:
  --targets arg            : 传递文件 ARG 内容为附件参数
  -R [--recursive]         : 向下递归
  -q [--quiet]             : 打印尽可能少
  --config-dir arg         : 从目录 ARG 读取用户配置文件

=======================

svn diff

diff (di): 显示两个路径中的差异。
用法:1、diff [-r N[:M]] [目标[@REV]...]
      2、diff [-r N[:M]] --old=旧目标[@OLDREV] [--new=新目标[@NEWREV]] \
               [PATH...]
      3、diff 旧URL[@OLDREV] 新URL[@NEWREV]

  1、显示在修订版中存在的 目标,它 (们) 在两个不同的修订版之间的
     差异。目标 可以为工作拷贝路径,或是地址(URL)。

     如果任何的 目标 是工作拷贝的话,N 默认为 BASE,否则就必须加以指定。
     如果任何的 目标 是工作拷贝路径,M 默认为目前的工作版本,否则默认为
     HEAD。

  2、显示于旧修订版的旧目标与于新修订版的新目标之间的
     差异。如果有指定路径的话,它们是相对于旧目标与新目标,而差异
     的输出会限制在这些路径中。旧目标与新目标可为工作路径或
     地址URL[@REV]。没有指定新目标时,默认为 旧目标。-r N 使得 旧目标 
     默认为 N,而 -r N:M 让 旧目标 默认为 N,新目标 默认为 M。
  3、“svn diff --old=旧地址URL[@OLDREV] --new=新地址URL[@NEWREV]”的便捷用法。

     仅在使用“svn diff”时,会显示工作拷贝中的本地修改。

有效选项:
  -r [--revision] arg      : ARG (一些命令需要 ARG1:ARG2 )
                             修订版参数可以是:
                                数字       修订版号
                                "{" 日期 "}" 在指定时间以后的修订版date
                                "HEAD"       最近的档案库
                                "BASE"       基线,基于修订版的工作条目 
                                "COMMITTED"  最后提交或基线之前
                                "PREV"       修订版提交之前
  --old arg                : 使用 ARG 作为旧目标
  --new arg                : 使用 ARG 作为新目标
  -N [--non-recursive]     : 只在单个目录操作
  --diff-cmd arg           : 使用 ARG 作为差异比较命令
  -x [--extensions] arg    : 传递 ARG 到 --diff-cmd 作为选项(默认使用参数 '-u')
  --no-diff-deleted        : 不要打印已删除文件的不同处
  --notice-ancestry        : 比较差异时提示原始信息
  --force                  : 强制操作运行
  --username arg           : 指定用户 ARG
  --password arg           : 指定密码 ARG
  --no-auth-cache          : 不要缓冲用户验证
  --non-interactive        : 不要交互提示
  --config-dir arg         : 从目录 ARG 读取用户配置文件

========================

svn status

status (stat, st): Print the status of working copy files and directories.
usage: status [PATH...]

  With no args, print only locally modified items (no network access).
  With -u, add working revision and server out-of-date information.
  With -v, print full revision information on every item.

  The first six columns in the output are each one character wide:
    First column: Says if item was added, deleted, or otherwise changed
      ' ' no modifications
      'A' Added
      'C' Conflicted
      'D' Deleted
      'G' Merged
      'I' Ignored
      'M' Modified
      'R' Replaced
      'X' item is unversioned, but is used by an externals definition
      '?' item is not under version control
      '!' item is missing (removed by non-svn command) or incomplete
      '~' versioned item obstructed by some item of a different kind
    Second column: Modifications of a file's or directory's properties
      ' ' no modifications
      'C' Conflicted
      'M' Modified
    Third column: Whether the working copy directory is locked
      ' ' not locked
      'L' locked
    Fourth column: Scheduled commit will contain addition-with-history
      ' ' no history scheduled with commit
      '+' history scheduled with commit
    Fifth column: Whether the item is switched relative to its parent
      ' ' normal
      'S' switched
    Sixth column: Repository lock token
      (without -u)
      ' ' no lock token
      'K' lock token present
      (with -u)
      ' ' not locked in repository, no lock token
      'K' locked in repository, lock toKen present
      'O' locked in repository, lock token in some Other working copy 'T' locked in repository, lock token present but sTolen
      'B' not locked in repository, lock token present but Broken

  The out-of-date information appears in the eighth column (with -u):
      '*' a newer revision exists on the server
      ' ' the working copy is up to date

  Remaining fields are variable width and delimited by spaces:
    The working revision (with -u or -v)
    The last committed revision and last committed author (with -v)
    The working copy path is always the final field, so it can
      include spaces.

  Example output:
    svn status wc
     M     wc/bar.c
    A  +   wc/qax.c

    svn status -u wc
     M           965    wc/bar.c
           *     965    wc/foo.c
    A  +         965    wc/qax.c
    Status against revision:   981

    svn status --show-updates --verbose wc
     M           965       938 kfogel       wc/bar.c
           *     965       922 sussman      wc/foo.c
    A  +         965       687 joe          wc/qax.c
                 965       687 joe          wc/zig.c
    Status against revision:   981

有效选项:
  -u [--show-updates]      : 显示更新信息
  -v [--verbose]           : 打印附加信息
  -N [--non-recursive]     : 只在单个目录操作
  -q [--quiet]             : 打印尽可能少
  --no-ignore              : 忽略默认值和 svn:ignore 属性
  --username arg           : 指定用户 ARG
  --password arg           : 指定密码 ARG
  --no-auth-cache          : 不要缓冲用户验证
  --non-interactive        : 不要交互提示
  --config-dir arg         : 从目录 ARG 读取用户配置文件
  --ignore-externals       : ignore externals definitions